﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FrameWork.Components
{
    /// <summary>
    /// 知识库类别实体类
    /// </summary>
    public class its_KnowledgeBaseKind
    {
        #region "Private Variables"
        private string _DB_Option_Action_;  // 操作方法 Insert:增加 Update:修改 Delete:删除 
        private int _KID = 0;  // 分类ID号
        private string _K_KName;  // 分类中文说明
        private int _K_ParentID = 0;  // 上级分类ID0:为最高级
        private int _K_ShowOrder = 0;  // 显示顺序
        private int _K_Level = 0;  // 当前分类所在层数
        private int _K_ChildCount = 0;  // 当前分类子分类数
        private int _K_Delete = 0;  // 是否删除1:是0:否
        #endregion

        #region "Public Variables"
        /// <summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除 
        /// </summary>
        public string DB_Option_Action_
        {
            set { this._DB_Option_Action_ = value; }
            get { return this._DB_Option_Action_; }
        }

        /// <summary>
        /// 分类ID号
        /// </summary>
        public int KID
        {
            set { this._KID = value; }
            get { return this._KID; }
        }

        /// <summary>
        /// 分类中文说明
        /// </summary>
        public string K_KName
        {
            set { this._K_KName = value; }
            get { return this._K_KName; }
        }

        /// <summary>
        /// 上级分类ID0:为最高级
        /// </summary>
        public int K_ParentID
        {
            set { this._K_ParentID = value; }
            get { return this._K_ParentID; }
        }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int K_ShowOrder
        {
            set { this._K_ShowOrder = value; }
            get { return this._K_ShowOrder; }
        }

        /// <summary>
        /// 当前分类所在层数
        /// </summary>
        public int K_Level
        {
            set { this._K_Level = value; }
            get { return this._K_Level; }
        }

        /// <summary>
        /// 当前分类子分类数
        /// </summary>
        public int K_ChildCount
        {
            set { this._K_ChildCount = value; }
            get { return this._K_ChildCount; }
        }

        /// <summary>
        /// 是否删除1:是0:否
        /// </summary>
        public int K_Delete
        {
            set { this._K_Delete = value; }
            get { return this._K_Delete; }
        }

        #endregion
    }
}